package masterjava.common.client.gxt.base.tree;

import com.google.gwt.user.client.rpc.AsyncCallback;
import masterjava.common.shared.entity.BaseEntity;

import java.util.List;

/**
 * User: gkislin
 * Date: 8/1/11
 */
public interface NodeLoader<E extends BaseEntity> {
    List<? extends GenericTreeModel> getRootList();
    void processNodeList(final GenericTreeModel node, final AsyncCallback<List<? extends GenericTreeModel>> treeCallback);
}
